package com.lanou.mall.manage.web.controller;

import com.lanou.mall.goods.service.GoodsService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class GoodsController {
    @Reference
    private GoodsService goodsService;

    @GetMapping("/test")
    public String test() {
        return goodsService.toString();
    }
}
